package com.dearbinge.data.pojo.cart.vo;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

public class CartVO implements Serializable {

    /**
     * 购物车ID
     */
    @ApiModelProperty("id")
    private Integer id;

    /**
     * 店铺ID
     */
    @ApiModelProperty("店铺ID")
    @TableId(value = "shop_id")
    private Integer shopId;

    /**
     * 店铺名称
     */
    @ApiModelProperty("店铺名称")
    @TableId(value = "shop_name")
    private String shopName;

    /**
     * 商品ID
     */
    @ApiModelProperty("commodityId")
    private String commodityId;

    /**
     * 商品规格id
     */
    @ApiModelProperty("商品规格id")
    @TableField(value = "commodity_spec_id")
    private String commoditySpecId;

    /**
     * 商品规格名称
     */
    @ApiModelProperty("商品规格名称")
    @TableField(value = "commodity_spec_name")
    private String commoditySpecName;

    /**
     * 商品数量
     */
    @ApiModelProperty("商品数量")
    private Integer total;

    /**
     * 商品名称
     */
    @ApiModelProperty("商品名称")
    private String commodityName;

    /**
     * 商品图片
     */
    @ApiModelProperty("商品图片")
    private String imgUrl;

    /**
     * 商品运费
     */
    @ApiModelProperty("商品运费")
    private String freight;
    /**
     * 成交价格
     */
    @ApiModelProperty("成交价格")
    private BigDecimal transactionPrice;


	/**
     * 商品零售价
     */
    @ApiModelProperty("retailPrice")
    private BigDecimal retailPrice;

    /**
     * 商品来源 0代理 1非代理
     */
    @ApiModelProperty("商品来源 0代理 1非代理")
    @TableField(value = "source")
    private Integer source;


    /**
     * 用户ID
     */
    @ApiModelProperty("用户ID")
    private String userId;

    /**
     * 卖货人用户ID
     */
    @ApiModelProperty("卖货人用户ID")
    @TableField(value = "sell_user_id")
    private String sellUserId;

    /**
     * 创建时间
     */
    @ApiModelProperty("创建时间")
    private Date createTime;

    /**
     * 修改时间
     */
    @ApiModelProperty("修改时间")
    private Date modifyTime;

    /**
     * 创建人
     */
    @ApiModelProperty("创建人")
    private String createBy;

    /**
     * 修改人
     */
    @ApiModelProperty("修改人")
    private String modifyBy;

    /**
     * 是否失效（0：否  1：是）
     */
    @ApiModelProperty("是否失效（0：否  1：是）")
    private Integer isFailure;

    /**
     * 是否删除（0：否  1：是）
     */
    @ApiModelProperty("是否删除（0：否  1：是）")
    private Integer isDeleted;

    /**
     * 商品选中状态
     */
    @ApiModelProperty("商品选中状态 false true")
    private Boolean isChecked;
    /**
     * 规格图片
     */
    @ApiModelProperty("规格图片")
    private String  sotreimg;

    public String getSotreimg() {
		return sotreimg;
	}

	public void setSotreimg(String sotreimg) {
		this.sotreimg = sotreimg;
	}

	public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getShopId() {
        return shopId;
    }

    public void setShopId(Integer shopId) {
        this.shopId = shopId;
    }

    public String getShopName() {
        return shopName;
    }

    public void setShopName(String shopName) {
        this.shopName = shopName;
    }

    public String getImgUrl() {
        return imgUrl;
    }

    public void setImgUrl(String imgUrl) {
        this.imgUrl = imgUrl;
    }

    public String getFreight() {
        return freight;
    }

    public void setFreight(String freight) {
        this.freight = freight;
    }

    public String getCommodityId() {
        return commodityId;
    }

    public void setCommodityId(String commodityId) {
        this.commodityId = commodityId;
    }

    public String getCommoditySpecId() {
        return commoditySpecId;
    }

    public void setCommoditySpecId(String commoditySpecId) {
        this.commoditySpecId = commoditySpecId;
    }

    public String getCommoditySpecName() {
        return commoditySpecName;
    }

    public void setCommoditySpecName(String commoditySpecName) {
        this.commoditySpecName = commoditySpecName;
    }

    public Integer getTotal() {
        return total;
    }

    public void setTotal(Integer total) {
        this.total = total;
    }

    public String getCommodityName() {
        return commodityName;
    }

    public void setCommodityName(String commodityName) {
        this.commodityName = commodityName;
    }

    public BigDecimal getRetailPrice() {
        return retailPrice;
    }

    public void setRetailPrice(BigDecimal retailPrice) {
        this.retailPrice = retailPrice;
    }


    public Integer getSource() {
        return source;
    }

    public void setSource(Integer source) {
        this.source = source;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public String getSellUserId() {
        return sellUserId;
    }

    public void setSellUserId(String sellUserId) {
        this.sellUserId = sellUserId;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getModifyTime() {
        return modifyTime;
    }

    public void setModifyTime(Date modifyTime) {
        this.modifyTime = modifyTime;
    }

    public String getCreateBy() {
        return createBy;
    }

    public void setCreateBy(String createBy) {
        this.createBy = createBy;
    }

    public String getModifyBy() {
        return modifyBy;
    }

    public void setModifyBy(String modifyBy) {
        this.modifyBy = modifyBy;
    }

    public Integer getIsFailure() {
        return isFailure;
    }

    public void setIsFailure(Integer isFailure) {
        this.isFailure = isFailure;
    }

    public Integer getIsDeleted() {
        return isDeleted;
    }

    public void setIsDeleted(Integer isDeleted) {
        this.isDeleted = isDeleted;
    }


    public Boolean getChecked() {
        return isChecked;
    }

    public void setChecked(Boolean checked) {
        isChecked = checked;
    }

	public BigDecimal getTransactionPrice() {
		return transactionPrice;
	}

	public void setTransactionPrice(BigDecimal transactionPrice) {
		this.transactionPrice = transactionPrice;
	}

	public Boolean getIsChecked() {
		return isChecked;
	}

	public void setIsChecked(Boolean isChecked) {
		this.isChecked = isChecked;
	}
}
